package com.ruoyi.school.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.school.mapper.GuanzhuMapper;
import com.ruoyi.school.domain.Guanzhu;
import com.ruoyi.school.service.IGuanzhuService;

/**
 * 关注模块Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-04-10
 */
@Service
public class GuanzhuServiceImpl implements IGuanzhuService 
{
    @Autowired
    private GuanzhuMapper guanzhuMapper;

    /**
     * 查询关注模块
     * 
     * @param id 关注模块主键
     * @return 关注模块
     */
    @Override
    public Guanzhu selectGuanzhuById(Long id)
    {
        return guanzhuMapper.selectGuanzhuById(id);
    }

    /**
     * 查询关注模块列表
     * 
     * @param guanzhu 关注模块
     * @return 关注模块
     */
    @Override
    public List<Guanzhu> selectGuanzhuList(Guanzhu guanzhu)
    {
        return guanzhuMapper.selectGuanzhuList(guanzhu);
    }


}
